package com.blockmeta.bbs.businesslibrary.constant;

import android.content.Context;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by author on 2017/12/27.
 * 需要一般引用的Key值
 */

public class Constant {
    //全局缓存的汇率
    public static final String CNY_USD = "CNY_USD";

    //热门搜索
    public static final String HOT_SEARCH_TAGS = "HOT_SEARCH_TAGS";

    //记录用户点击修改名字次数
    public static final String Ensure_cancle_editname = "Ensure_cancle_editname";


    //地址拼接  exchangge
    public static final String U_EXCHANGE = "u_exchange";

    //地址拼接 pair  格式 coin_usd
    public static final String U_PAIR = "u_pair";

    //日夜间模式切换的标示
    public static final String Night_Mode = "Night_Mode";

    //Token
    public static final String TOKEN = "TOKEN";
    public static final String COLLECTION = "COLLECTION";


    //货币搜索的名称
    public static final String SEARCH_COIN = "SEARCH_COIN";

    //顶部Tab的的缓存key
    public static final String key_tab = "key_tan";
    public static final String key_tab_coins = "key_tab_coins";
    public static final String key_tab_exchange = "key_tab_exchange";
    public static final String key_tab_news = "key_tab_news";
    public static final String key_tab_bbs = "key_tab_bbs";

    //是否保持屏幕常亮
    public static final String KEEP_SCREEN_ON = "keep_screen_on";
    //涨跌颜色是否为默认绿长红跌
    public static final String IS_UPS_GREEN = "is_ups_green";
    //是否使用自定义汇率
    public static final String IS_USING_RATE = "is_using_rate";
    //自定义汇率
    public static final String CUSTOM_RATE = "custom_rate";
    //自动更新的下载id
    public static final String DOWNLOAD_ID = "download_id";
    //信鸽token
    public static final String GETUI_TOKEN = "XG_token";

    //最新版本号
    public static final String APP_VERSION = "app_version";
    //最新配置文件
    public static final String BUNDLEURL = "BUNDLEURL";
    //是否强制更新
    public static final String ISFORCE = "is_force";
    //更新地址
    public static final String UPDATE_URL = "update_url";
    //更新地址
    public static final String UPDATE_DES = "update_des";
    //更新金币数量
    public static final String UPDATE_COINS= "update_coins";
    //是否需要提示更新
    public static final String NO_NOTICE_UPDATE = "no_notice_update";
    //推送过来的跳转参数
    public static final String PUSH_JSON = "push_json";
    //头像本地路径
    public static final String ICON_PATH = "ICON_PATH";
    //弹出广告数据bean
    public static final String BANNER_FLASH = "BANNER_FLASH";
    public static final String BANNER_TIME = "BANNER_TIME";
    //活动控制
    public static final String Activity_Open = "ACTIVITY_OPEN";
    public static final String Activity_Info = "Activity_Info";


    //推送权限
    public static final String NOTIFATION = "notifation";

    //常用Bundler参数
    public static final String ZERO = "zero";
    public static final String ONE = "one";
    public static final String TWO = "two";
    public static final String THREE = "three";
    public static final String Four = "Four";
    public static final String Five = "five";
    public static final String Six = "six";
    public static final String Seven = "seven";

    public static final String inv_stage = "inv_stage";

    //友盟统计自定义事件id
    public static final String ACTIVITY_SHARE = "ActivityDetailLink";//活动详情链接分享
    public static final String ACTIVITY_QR_SHARE = "ActivityQRCode";//活动二维码详情分享
    public static final String BBS_SHARE = "BBSDetailLink";//论坛帖子分享
    public static final String COIN_SHARE = "CoinF10Image";//币种分享
    public static final String BLOCK_SHARE = "FlashImage";//块讯分享
    public static final String NEWS_SHARE = "NewsDetailLink";//资讯分享
    public static final String INVITE_LINK = "InviteLink";//邀请链接分享啊
    public static final String INVITE_IMAGE = "InviteImage";//邀请图片分享
    public static final String COIN_LIST = "CoinListImage";//行情列表
    //1.1.6埋点
    //金币任务完成
    public static final String U_MINE_task_snackbar = "U_MINE_task_snackbar";
    //任务完成提示前往
    public static final String U_MINE_task_snackbar_go = "U_MINE_task_snackbar_go";
    //金币任务 领取明细
    public static final String U_MINE_task_gotdetail = "U_MINE_task_gotdetail";
    //        每日签到
    public static final String U_MINE_task_dailybonus = "U_MINE_task_dailybonus";
    //        签到规则
    public static final String U_MINE_task_rule = "U_MINE_task_rule";
    //        金币商城
    public static final String U_MINE_task_shop = "U_MINE_task_shop";
    //        去完成
    public static final String U_MINE_task_go = "U_MENG_task_go";
    //金币商城 兑换记录
    public static final String U_MINE_goldshop_change = "U_MINE_goldshop_change";
    //        币价预测规则
    public static final String U_MINE_goldshop_fcstrule = "U_MINE_goldshop_fcstrule";
    //        币价预测按钮
    public static final String U_MINE_goldshop_fcstbtn = "U_MINE_goldshop_fcstbtn";
    //        开始刮奖
    public static final String U_MINE_goldshop_scratch = "U_MINE_goldshop_scratch";
    //        再玩一次
    public static final String U_MINE_goldshop_onemore = "U_MINE_goldshop_onemore";
    //        实物兑换
    public static final String U_MINE_goldshop_object = "U_MINE_goldshop_object";
    //搜索页 搜索币种
    public static final String U_search_coin = "U_search_coin";
    //      交易所
    public static final String U_search_exchange = "U_search_exchange";
    //      咨询
    public static final String U_search_article = "U_search_article";
    //      帖子
    public static final String U_search_post = "U_search_post";
    //      活动
    public static final String U_search_activity = "U_search_activity";
    public static final String U_COINS = "U_COINS";
    public static final String U_COINS_SEARCH = "U_COINS_SEARCH";
    public static final String U_COINS_MYCHOICE = "U_COINS_MYCHOICE";
    public static final String U_COINS_SAVE_MYCHOICE = "U_COINS_SAVE_MYCHOICE";
    public static final String U_INFO = "U_INFO";
    public static final String U_INFO_FASTNEWS = "U_INFO_FASTNEWS";
    public static final String U_INFO_WEIBO = "U_INFO_WEIBO";
    public static final String U_INFO_DETAIL_COLLECTION = "U_INFO_DETAIL_COLLECTION";
    public static final String U_INFO_DETAIL_COMMENT = "U_INFO_DETAIL_COMMENT";
    public static final String U_INFO_DETAIL_PLAYVOICE = "U_INFO_DETAIL_PLAYVOICE";
    public static final String U_BBS = "U_BBS";
    public static final String U_BBS_POST = "U_BBS_POST";
    public static final String U_BBS_POST_SEND = "U_BBS_POST_SEND";
    public static final String U_BBS_COMMENT = "U_BBS_COMMENT";
    public static final String U_ACTIVE = "U_ACTIVE";
    public static final String U_IM = "U_IM";
    public static final String U_REGISTRER = "U_REGISTRER";
    public static final String U_LOGIN = "U_LOGIN";
    public static final String U_SEARCH = "U_SEARCH";
    public static final String U_BBS_COLLEGE = "U_BBS_COLLEGE";
    public static final String U_BBS_POST_PIC = "U_BBS_POST_PIC";
    public static final String U_BBS_POST_FORUM = "U_BBS_POST_FORUM";


    public static final String U_COINS_F10 = "U_COINS_F10";

    public static final String U_COINSDETAIL_ANALYSE_COMMISSIONING = "U_COINSDETAIL_ANALYSE_COMMISSIONING";
    public static final String U_COINSDETAIL_ANALYSE_VOLUMN = "U_COINSDETAIL_ANALYSE_VOLUMN";
    public static final String U_COINSDETAIL_ANALYSE = "U_COINSDETAIL_ANALYSE";
    public static final String U_COINSDETAIL_ALEART = "U_COINSDETAIL_ALEART";
    public static final String U_COINSDETAIL_F10 = "U_COINSDETAIL_F10";


    public static final String U_INFO_POLICY_COUNTRY = "U_INFO_POLICY_COUNTRY";

    public static final String U_BBS_LIBRARY_RECOMMENT_ALL = "U_BBS_LIBRARY_RECOMMENT_ALL";
    public static final String U_BBS_LIBRARY_NEWPOST_ALL = "U_BBS_LIBRARY_NEWPOST_ALL";

    public static final String U_MINE = "U_MINE";
    public static final String U_MINE_SETTING_CLEARCACHE = "U_MINE_MYSETTING_CLEARCACHE";
    public static final String U_MINE_SETTING_ABOUTUS = "U_MINE_SETTING_ABOUTUS";
    public static final String U_MINE_EVENT = "U_MINE_EVENT";
    public static final String U_MINE_MYSETTING = "U_MINE_MYSETTING";

    public static final String U_ACTIVEDETAIL_COLLECTION = "U_ACTIVEDETAIL_COLLECTION";
    public static final String U_ACTIVEDETAIL_COMMENT = "U_ACTIVEDETAIL_COMMENT";

    public static final String U_INFO_SELECT = "U_INFO_SELECT";

    public static final String U_COLLEGE_COLLEGE_ALL = "U_COLLEGE_COLLEGE_ALL";
    public static final String U_COLLEGE_LIBRARY_ALL = "U_COLLEGE_LIBRARY_ALL";
    public static final String U_COLLEGE_BOOK_ALL = "U_COLLEGE_BOOK_ALL";

    public static final String U_LIBRARY_LIST = "U_LIBRARY_LIST";

    //活动弹窗买点
    public static final String U_ACTIVITY_TOAST = "U_activity_toast";
    public static final String U_activity_toast_cancel = "U_activity_toast_cancel";


    public static final String U_INFO_banner = "U_INFO_banner ";
    public static final String U_BBS_banner = "U_BBS_banner ";
    public static final String U_ACTIVE_banner = "U_ACTIVE_banner ";



    //1.4.5埋点方案
    public static final String U_INFO_AD_BANNER = "U_INFO_ad_banner";
    public static final String U_INFO_AD_FEED = "U_INFO_ad_feed";
    public static final String U_INFO_REC_AUTHOR = "U_INFO_rec_author";
    public static final String U_INFO_DETAIL = "U_INFO_detail";
    public static final String U_BBS_DETAIL = "U_BBS_detail";
    //论坛二级tab
    public static final String U_BBS_TAB = "U_BBS_Tab";
    //论坛置顶帖子
    public static final String U_BBS_TOP = "U_BBS_top";
    //论坛置顶话题
    public static final String U_BBS_TOP_TOPIC = "U_BBS_toptopic";
    //论坛发帖人
    public static final String U_BBS_POST_AUTHOR = "U_BBS_post_author";
    //帖子归属节点
    public static final String U_BBS_POST_NODE = "U_BBS_post_node";
    //论坛广告
    public static final String U_BBS_AD = "U_BBS_Ad";


    //百度语音合成功能
    public static final String ttsappID = "11011714";
    public static final String ttsapikey = "idx6GGTIHpMy9SODjM1RW7mZ";
    public static final String ttssecretKey = "b6a9c82a14992ba72cf987c0e2912014";

    //chart配置
    public static final String CTYPE = "CTYPE";

    public static final String SKINTYPE = "SKINTYPE";

    public static final String CHANNEL = "CHANNEL";

    public static final String KEY_DOWN_SIZE = "KEY_DOWN_SIZE";
    public static final String DOWN_LOAD_ACTION = "finish_down_load";
    public static final String APK_FILE_URL = "apk_file_url";

    public static final String APK_FILE_PATH = "apk_file_path";

    public static final String APK_FILE_SIZE = "apk_file_size";

    public static final String APK_FILE_NAME = "apk_file_name";

    public static final String APK_FILE_IS_AUTO = "apk_file_is_auto_down";

    public static final String APK_FILE_IS_LOAD_SUCCESS = "apk_file_is_load_success";


    //资讯传值页面
    public static final String INFO_TAG = "tag";//标示内外链接
    public static final String INFO_ID = "id";
    public static final String INFO_POSTNAME = "postname";
    public static final String INFO_TIME = "time";
    public static final String INFO_USERNAME = "username";
    public static final String INFO_THUMB = "thunm";
    public static final String INFO_ICON_URL = "icon_url";
    public static final String INFO_TITLE = "info_title";
    public static final String Serilia_Desc = "Serilia_Desc";


    public static final String Rank_sort_price = "Rank_sort_price";
    public static final String Rank_sort_rate = "Rank_sort_rate";

    public static final String BUNDLEVERSION = "BUNDLEVERSION";

    //第一次进入app
    public static final String IS_FIRST_IN_APP = "isFirstInAPP";
    //是否同意了用户隐私协议
    public static final String AGREED_USER_AGREEMENT = "agreedUserAgreement";

    public static final String HiddenF10 = "HiddenF10";

    //用于下拉刷新记录
    public static final String MICRO_APP = "";

    //海盗号关注时间Event
    public static final String FOCUS_VIKING = "Focus_Viking";

    //海盗号标示
    public static final String INFO_VIKING = "info_viking";

    //扫描二维码标志Code
    public static final int START_QRCODE = 11111;
    //扫描二维码数据结果
    public static final String QRCODE_RESULT = "qrcode_result";


    //新版本GraphQL的

    public static final String NEWS_ALL = "news";//最新
    public static final String NEWS_EXCLUSIVE = "exclusive";//独家
    public static final String NEWS_VIKING = "viking";//海盗号
    public static final String NEWS_VENTURE_CAPITAL = "venture_capital";//创投
    public static final String NEWS_POLICY = "policy";//政策
    public static final String NEWS_PROJECT = "project";//专题
    public static final String NEWS_TECHNOLOGY = "technology";//技术
    public static final String NEWS_RESEARCH_REPORT = "research_report";//研报
    public static final String NEWS_MINING = "mining";//矿业
    public static final String NEWS_WEEKLY = "weekly";//周刊
    /************************
     * 网关秘要相关
     */
    public static final String ORIGNKEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCEqMF0oQrFgRgUkSiM4pswUtG9Bd+s6rOpsOigCoa4klPBxQwT4AgqpFbgQqrW2/kfoJfyCfx8av/+k7OlVLxGUpUK9VGds5uPQsH89QEGln3hF3bpVCo00fGvionmBRyIJ9SvVbqyR6ei6Ag+V1k9NO/UKUU/ARw9FywJfvihHwIDAQAB";
    public static final String APP_ID = "0";
    public static final String GATE_KEY = "gate_key";
    public static final String SECRET_KEY_VERSION = "SECRET_KEY_VERSION";

    public static final String KEY_WEB_NO_CACHE = "KEY_WEB_NO_CACHE";

    public static final String BBS_POST = "bbsPost";
    public static final int CUSTOM_MESSAGE_CONTENT = 22222;
    public static final int REMOTE_File_MESSAGE_CONTENT = 33333;

    //用于静态变量传大值
    public static ArrayList<String> TempImgUrls = new ArrayList<>();

    public static final String GATE_TOKEN = "gate-token";

    /** -------------------------------------- 搜索跳转的tag ----------------------------------- */
    // 帖子
    public static final String SEARCH_POST = "帖子社区";
    //活动
    public static final String SEARCH_ACTIVE = "活动";
    //资讯
    public static final String SEARCH_NEWS = "资讯";
    //项目
    public static final String SEARCH_PROJECT = "项目";
    //交易所
    public static final String SEARCH_EXCHANGE = "交易所";
    //快讯
    public static final String SEARCH_FAST = "快讯";
    //学院
    public static final String SEARCH_COLLEGE = "学院";
}

